package team.seekers.catering.community.entity.dto.update;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class FirstCommentUpdateDTO {
    @NotBlank(message = "评论id不能为空")
    @Size(max = 20, message = "评论id长度不能超过19")
    private String id;

    @ApiModelProperty(value = "评论内容")
    private String content;
}
